<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @font-face {
            font-family: "myFont";
            src: url('../assets/fonts/ROBOTO/Roboto-Black.woff') format('woff');
        }

        .font-1 {
            font-family: "myFont", serif;
        }

        .font-2 {
            font-family: "Microsoft YaHei UI";
        }
    </style>
</head>

<body>

    <!-- <div class="font-1">你好啊--123456</div> -->
    <!-- 中文渲染为Songti SC ，本地资源-->
    <!-- <div class="font-1">你好啊</div> -->

    <!-- 破折号渲染为Roboto Bk，网络资源 -->
    <div class="font-1">--</div>
    <!-- 数字渲染为Roboto Bk ，网络资源-->
    <!-- <div class="font-1">123456</div> -->
    <!-- <div class="font-2">你好啊--123456</div> -->
    <!-- <div class="font-3">你好啊--123456</div> -->

</html>